package com.json.infoboard.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.json.infoboard.dao.InfoboardDaoJson;
import com.json.infoboard.service.IInfoboardServiceJson;
import com.json.infoboard.vo.InfoboardJson;

@Service
public class InfoboardServiceJson implements IInfoboardServiceJson {

	@Autowired
	private InfoboardDaoJson infoboardDaoJson;

	public List<InfoboardJson> selectInfoboard(Integer sec) {
		return infoboardDaoJson.selectInfoboard(sec);
	}

	public Integer selectInfoboardCount(Integer sec) {
		// TODO Auto-generated method stub
		return infoboardDaoJson.selectInfoboardCount(sec);
	}

}
